3.5.8 \(\int \frac {x^4 (a+b x^2)^p}{d+e x} \, dx\) [408]

Optimal. Leaf size=199 \[ \frac {\left (b d^2-a e^2\right ) \left (a+b x^2\right )^{1+p}}{2 b^2 e^3 (1+p)}+\frac {\left (a+b x^2\right )^{2+p}}{2 b^2 e (2+p)}+\frac {x^5 \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} F_1\left (\frac {5}{2};-p,1;\frac {7}{2};-\frac {b x^2}{a},\frac {e^2 x^2}{d^2}\right )}{5 d}-\frac {d^4 \left (a+b x^2\right )^{1+p} \, _2F_1\left (1,1+p;2+p;\frac {e^2 \left (a+b x^2\right )}{b d^2+a e^2}\right )}{2 e^3 \left (b d^2+a e^2\right ) (1+p)} \]

[Out]

1/2*(-a*e^2+b*d^2)*(b*x^2+a)^(1+p)/b^2/e^3/(1+p)+1/2*(b*x^2+a)^(2+p)/b^2/e/(2+p)+1/5*x^5*(b*x^2+a)^p*AppellF1(
5/2,1,-p,7/2,e^2*x^2/d^2,-b*x^2/a)/d/((1+b*x^2/a)^p)-1/2*d^4*(b*x^2+a)^(1+p)*hypergeom([1, 1+p],[2+p],e^2*(b*x
^2+a)/(a*e^2+b*d^2))/e^3/(a*e^2+b*d^2)/(1+p)

________________________________________________________________________________________

Rubi [A]
time = 0.15, antiderivative size = 199, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {973, 525, 524, 457, 90, 70} \begin {gather*} \frac {x^5 \left (a+b x^2\right )^p \left (\frac {b x^2}{a}+1\right )^{-p} F_1\left (\frac {5}{2};-p,1;\frac {7}{2};-\frac {b x^2}{a},\frac {e^2 x^2}{d^2}\right )}{5 d}+\frac {\left (b d^2-a e^2\right ) \left (a+b x^2\right )^{p+1}}{2 b^2 e^3 (p+1)}+\frac {\left (a+b x^2\right )^{p+2}}{2 b^2 e (p+2)}-\frac {d^4 \left (a+b x^2\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {e^2 \left (b x^2+a\right )}{b d^2+a e^2}\right )}{2 e^3 (p+1) \left (a e^2+b d^2\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^4*(a + b*x^2)^p)/(d + e*x),x]

[Out]

((b*d^2 - a*e^2)*(a + b*x^2)^(1 + p))/(2*b^2*e^3*(1 + p)) + (a + b*x^2)^(2 + p)/(2*b^2*e*(2 + p)) + (x^5*(a +
b*x^2)^p*AppellF1[5/2, -p, 1, 7/2, -((b*x^2)/a), (e^2*x^2)/d^2])/(5*d*(1 + (b*x^2)/a)^p) - (d^4*(a + b*x^2)^(1
 + p)*Hypergeometric2F1[1, 1 + p, 2 + p, (e^2*(a + b*x^2))/(b*d^2 + a*e^2)])/(2*e^3*(b*d^2 + a*e^2)*(1 + p))

Rule 70

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(b*c - a*d)^n*((a + b*x)^(m + 1)/(b^(
n + 1)*(m + 1)))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m
}, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] && IntegerQ[n]

Rule 90

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandI
ntegrand[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && IntegersQ[m, n] &&
(IntegerQ[p] || (GtQ[m, 0] && GeQ[n, -1]))

Rule 457

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
 NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rule 524

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[a^p*c^q*
((e*x)^(m + 1)/(e*(m + 1)))*AppellF1[(m + 1)/n, -p, -q, 1 + (m + 1)/n, (-b)*(x^n/a), (-d)*(x^n/c)], x] /; Free
Q[{a, b, c, d, e, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, n - 1] && (IntegerQ[p] || GtQ[a
, 0]) && (IntegerQ[q] || GtQ[c, 0])

Rule 525

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Dist[a^IntPar
t[p]*((a + b*x^n)^FracPart[p]/(1 + b*(x^n/a))^FracPart[p]), Int[(e*x)^m*(1 + b*(x^n/a))^p*(c + d*x^n)^q, x], x
] /; FreeQ[{a, b, c, d, e, m, n, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, n - 1] &&  !(IntegerQ[
p] || GtQ[a, 0])

Rule 973

Int[(((g_.)*(x_))^(n_.)*((a_) + (c_.)*(x_)^2)^(p_))/((d_) + (e_.)*(x_)), x_Symbol] :> Dist[d*((g*x)^n/x^n), In
t[(x^n*(a + c*x^2)^p)/(d^2 - e^2*x^2), x], x] - Dist[e*((g*x)^n/x^n), Int[(x^(n + 1)*(a + c*x^2)^p)/(d^2 - e^2
*x^2), x], x] /; FreeQ[{a, c, d, e, g, n, p}, x] && NeQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[p] &&  !IntegersQ[n, 2
*p]

Rubi steps

\begin {align*} \int \frac {x^4 \left (a+b x^2\right )^p}{d+e x} \, dx &=d \int \frac {x^4 \left (a+b x^2\right )^p}{d^2-e^2 x^2} \, dx-e \int \frac {x^5 \left (a+b x^2\right )^p}{d^2-e^2 x^2} \, dx\\ &=-\left (\frac {1}{2} e \text {Subst}\left (\int \frac {x^2 (a+b x)^p}{d^2-e^2 x} \, dx,x,x^2\right )\right )+\left (d \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p}\right ) \int \frac {x^4 \left (1+\frac {b x^2}{a}\right )^p}{d^2-e^2 x^2} \, dx\\ &=\frac {x^5 \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} F_1\left (\frac {5}{2};-p,1;\frac {7}{2};-\frac {b x^2}{a},\frac {e^2 x^2}{d^2}\right )}{5 d}-\frac {1}{2} e \text {Subst}\left (\int \left (\frac {\left (-b d^2+a e^2\right ) (a+b x)^p}{b e^4}-\frac {(a+b x)^{1+p}}{b e^2}+\frac {d^4 (a+b x)^p}{e^4 \left (d^2-e^2 x\right )}\right ) \, dx,x,x^2\right )\\ &=\frac {\left (b d^2-a e^2\right ) \left (a+b x^2\right )^{1+p}}{2 b^2 e^3 (1+p)}+\frac {\left (a+b x^2\right )^{2+p}}{2 b^2 e (2+p)}+\frac {x^5 \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} F_1\left (\frac {5}{2};-p,1;\frac {7}{2};-\frac {b x^2}{a},\frac {e^2 x^2}{d^2}\right )}{5 d}-\frac {d^4 \text {Subst}\left (\int \frac {(a+b x)^p}{d^2-e^2 x} \, dx,x,x^2\right )}{2 e^3}\\ &=\frac {\left (b d^2-a e^2\right ) \left (a+b x^2\right )^{1+p}}{2 b^2 e^3 (1+p)}+\frac {\left (a+b x^2\right )^{2+p}}{2 b^2 e (2+p)}+\frac {x^5 \left (a+b x^2\right )^p \left (1+\frac {b x^2}{a}\right )^{-p} F_1\left (\frac {5}{2};-p,1;\frac {7}{2};-\frac {b x^2}{a},\frac {e^2 x^2}{d^2}\right )}{5 d}-\frac {d^4 \left (a+b x^2\right )^{1+p} \, _2F_1\left (1,1+p;2+p;\frac {e^2 \left (a+b x^2\right )}{b d^2+a e^2}\right )}{2 e^3 \left (b d^2+a e^2\right ) (1+p)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]
time = 0.57, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^4 \left (a+b x^2\right )^p}{d+e x} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[(x^4*(a + b*x^2)^p)/(d + e*x),x]

[Out]

Integrate[(x^4*(a + b*x^2)^p)/(d + e*x), x]

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {x^{4} \left (b \,x^{2}+a \right )^{p}}{e x +d}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(b*x^2+a)^p/(e*x+d),x)

[Out]

int(x^4*(b*x^2+a)^p/(e*x+d),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b*x^2+a)^p/(e*x+d),x, algorithm="maxima")

[Out]

integrate((b*x^2 + a)^p*x^4/(x*e + d), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b*x^2+a)^p/(e*x+d),x, algorithm="fricas")

[Out]

integral((b*x^2 + a)^p*x^4/(x*e + d), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4*(b*x**2+a)**p/(e*x+d),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(b*x^2+a)^p/(e*x+d),x, algorithm="giac")

[Out]

integrate((b*x^2 + a)^p*x^4/(x*e + d), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4\,{\left (b\,x^2+a\right )}^p}{d+e\,x} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^4*(a + b*x^2)^p)/(d + e*x),x)

[Out]

int((x^4*(a + b*x^2)^p)/(d + e*x), x)

________________________________________________________________________________________